/*
 * @Author: your name
 * @Date: 2021-08-13 21:27:17
 * @LastEditTime: 2021-08-13 22:54:38
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \Self\hrsaas-86\src\filters\index.js
 */

// 导入moment
import moment from 'moment'

// 格式化日期
export function formatDate(value, str = 'YYYY-MM-DD') {
  return moment().format(str)
}
